package com.back.end.Service.impl;

import com.back.end.Dao.UserDao;
import com.back.end.Modal.User;
import com.back.end.Service.WebUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WebUserServiceImpl implements WebUserService {

    @Resource
    UserDao userDao;

    @Override
    public List<User> getAllUsers() {
        List users = userDao.getAllUsers();
        return users;
    }
}
